/*
 * $Id$
 */
package py.firefly.request;

import javax.servlet.http.HttpServletResponse;

/**
 *
 * @author myang
 */
public interface Response {

    /**
     * 
     * @return 
     */
    HttpServletResponse containerResponse();

    /**
     * 
     * @param s 
     */
    void println(String s);

    /**
     * 
     * @param name
     * @param val
     * @return 
     */
    Response header(String name, String val);

    /**
     * 
     * @param contentType
     * @return 
     */
    Response contentType(String contentType);

    /**
     * 
     * @param s
     * @return 
     */
    Response streamOut(String s);
}
